package com.hxd.otc.module.fiat_deal.presenter;

import com.hxd.otc.module.fiat_deal.bean.DealTeamBean;
import com.hxd.otc.module.fiat_deal.contract.SubDealContract;
import com.hxd.otc.mvp.base.BasePresenter;

import java.util.ArrayList;

/**
 * Created by lzy on 2018/9/17 0017.
 * description ${子交易Presenter}
 */
public class SubDealPresenter extends BasePresenter<SubDealContract.IView> implements SubDealContract.IPresenter {

    private int mDealType;
    private ArrayList<DealTeamBean> allDealTeamBeans;

    public SubDealPresenter(SubDealContract.IView iView) {
        super(iView);
    }

    @Override
    public void setDealType(int dealType) {
        mDealType = dealType;
    }

    @Override
    public int getDealType() {
        return mDealType;
    }

    @Override
    public void setAllDealTeamBeans(ArrayList<DealTeamBean> allDealTeamBeans) {
        this.allDealTeamBeans = allDealTeamBeans;
    }

    @Override
    public ArrayList<DealTeamBean> getAllDealTeamBeans() {
        return allDealTeamBeans;
    }
}
